\section{apriori\_\-test::dataset Class Reference}
\label{classapriori__test_1_1dataset}\index{apriori_test::dataset@{apriori\_\-test::dataset}}
{\tt \#include $<$dataset.h$>$}

\subsection*{Public Types}
\begin{CompactItemize}
\item 
typedef boost::shared\_\-ptr$<$ \bf{dataset} $>$ \bf{ptr}\label{classapriori__test_1_1dataset_7d09ba90fc1b43782dc7a8c2ed6a0180}

\item 
typedef string \bf{data}\label{classapriori__test_1_1dataset_533b4cea2a52cd62949c5c9a7f477e19}

\item 
typedef boost::shared\_\-ptr$<$ string $>$ \bf{data\_\-ptr}\label{classapriori__test_1_1dataset_8ce4010c6857cc86830479a18588ed13}

\item 
typedef vector$<$ string $>$ \bf{data\_\-collection}\label{classapriori__test_1_1dataset_02fee0c95419c6f0e920d01160298c88}

\item 
typedef vector$<$ boost::shared\_\-ptr$<$ string $>$ $>$ \bf{data\_\-coll}\label{classapriori__test_1_1dataset_3ea33fdd147803102297deb53f985c81}

\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\bf{dataset} ()\label{classapriori__test_1_1dataset_ba2b18b6aef2fac73dfded2f83c99500}

\item 
\bf{$\sim$dataset} ()\label{classapriori__test_1_1dataset_54b6a611aa4e001ee00d9f79e674b1d6}

\item 
template$<$class T$>$ void \bf{read} (T \&rhs)\label{classapriori__test_1_1dataset_d50abfc54e4f8277e4d2c6ae50781c0f}

\item 
template$<$class T$>$ void \bf{write} (T \&rhs)\label{classapriori__test_1_1dataset_3a307affd90e10cc922bd13449a893aa}

\item 
\bf{data\_\-coll} \& \bf{get\_\-elements} ()\label{classapriori__test_1_1dataset_cedf89da9d363e656049fc93393013a4}

\item 
const \bf{data\_\-coll} \& \bf{get\_\-line} () const \label{classapriori__test_1_1dataset_f0d49fad1dd7557dcb262cc2d03c7cd5}

\item 
void \bf{set\_\-line} (const \bf{data\_\-coll} \&l)\label{classapriori__test_1_1dataset_b963ccd7323ae0b73b3a52e8d4d47eed}

\end{CompactItemize}


\subsection{Detailed Description}
This class is a example of a dataset, which is read from a file with the \doxyref{file\_\-reader}{p.}{classapriori__test_1_1file__reader} class (operator $>$$>$), and implements the get\_\-elements method, which is neccessary for the apriori algorithm. moreover it defines the neccessary types, and its elements are implementing the ==-operator, to work with the apriori-algorithm 



Definition at line 27 of file dataset.h.

The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
music/apriori/dataset.h\end{CompactItemize}
